import Layout from '@/layout/index'

export default [
  {
    path: '/distributionManage',
    name: 'distributionManage',
    component: Layout,
    meta: { title: '配送管理', icon: 'menu-workOrderCenter', menuId: 5, showIndex: 5 },
    children: [
      {
        path: 'distributorManage',
        name: 'distributorManage',
        component: () => import('@/views/distributionManage/distributorManage/index'),
        meta: { title: '配送员管理', menuId: 501, showIndex: 1 }
      },
      {
        path: 'vehicleManage',
        name: 'vehicleManage',
        component: () => import('@/views/distributionManage/vehicleManage/index'),
        meta: { title: '车辆管理', menuId: 502, showIndex: 2 }
      },
      {
        path: 'electronicFence',
        name: 'electronicFence',
        component: () => import('@/views/distributionManage/electronicManage/index'),
        meta: { title: '电子围栏', menuId: 503, showIndex: 3 }
      },
      {
        path: 'orderClass',
        name: 'orderClass',
        component: () => import('@/views/distributionManage/orderClass/index'),
        meta: { title: '调度排班', menuId: 504, showIndex: 4 }
      },
      {
        path: 'ordersTactics',
        name: 'ordersTactics',
        component: () => import('@/views/orderCenter/ordersTactics/index'),
        meta: { title: '派单策略', menuId: 505, showIndex: 5 }
      }
    ]
  }
]
